package com.genexususa.eo.bing.data.wsSubclasses;

import com.genexususa.eo.bing.CampaignManagementServiceClasses.Criterion;
import org.w3c.dom.Element;

public class GxCriterion extends Criterion {
    public GxCriterion(Element element) {
        if (element.getElementsByTagName("Type").getLength() > 0 &&
            element.getElementsByTagName("Type").item(0).getChildNodes().getLength() > 0) {
            this.setType(element.getElementsByTagName("Type").item(0).getChildNodes().item(0).getNodeValue());
        }
    }
}
